package hng.service;

import hng.dto.RegisterDTO;
import hng.dto.ResetPasswordDTO;
import hng.dto.UserDTO;
import hng.model.UserDO;
import com.baomidou.mybatisplus.extension.service.IService;
import hng.vo.LoginVO;
import hng.vo.UserVO;

/**
 * @author 告白
 * @since 2024-06-27
 */
public interface UserService extends IService<UserDO> {

    void sendPhoneCode(String phone);

    void register(RegisterDTO registerDTO);

    UserVO updateInfo(UserDTO userDTO);

    LoginVO login(RegisterDTO registerDTO);

    UserVO info();

    void updatePassword(ResetPasswordDTO resetPasswordDTO);
}
